package org.binglan.youziyuepai.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.binglan.youziyuepai.entity.PersonalDynamic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 个人动态表 Mapper 接口
 * </p>
 *
 * @author sanjin
 * @since 2019-04-09
 */
public interface PersonalDynamicMapper extends BaseMapper<PersonalDynamic> {

    /**
     * 分页查询约用户约拍信息
     */
    IPage<PersonalDynamic> queryDatePatByPage(Page<PersonalDynamic> page, @Param("isAllow") Integer isAllow, @Param("occupationId") Integer occupationId);
}
